home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DDJMAG / DDJ9207.ZIP / AVKCAPT.ZIP / COPYLIST.H < prev    next >
C/C++ Source or Header  |  1992-03-11  |  1KB  |  42 lines

  1. //-------------------------------------------------------------------------
  2. //            ActionMedia II Programmer's Toolkit
  3. //    
  4. //            Windows Motion Player Sample Program
  5. //    
  6. //Header Name:    copylist.h
  7. //
  8. //Description:    header file for copylist.c
  9. //    
  10. //    Copyright Intel Corp. 1991, 1992
  11. //    All Rights Reserved.
  12. //                
  13. //-------------------------------------------------------------------------
  14.  
  15. #ifndef COPYLIST_H
  16. #define    COPYLIST_H    1
  17.  
  18. #define    NUM_CLIP_RECTS    100
  19. #define    NUM_COPY_BOXES    200
  20.  
  21. typedef struct tagCOPYLIST {
  22.     HAVK    hConn;                        // handle of connector to be clipped
  23.     HWND    hwndTarget;                    // window handle of target window
  24.     RECT    rectTarget;                    // target rect coords
  25.     RECT    rectClipList[NUM_CLIP_RECTS];    // array to build clip list
  26.     WORD    ClipCnt;                    // Number of elements in clip list
  27. } COPYLIST;
  28.  
  29. //    Error eturned by UpdateCopyList() if Clip2Copy() is in error. Any
  30. //    other non-zero return is an AVK error.
  31.  
  32. #define    COPY_ERROR    (I16)0xffff
  33.  
  34. #ifndef COPYLIST_NOEXTERNS
  35. extern I16    UpdateCopyList(COPYLIST *pCL, RECT *pTarget, WORD cxView, 
  36.                 WORD cyView, BOOL *pbUpdated);
  37. #endif
  38.  
  39. #endif        // #ifndef COPYLIST_H
  40.  
  41.  
  42.